package main

import (
	"fmt"
	"time"
)

//协程使用示例
func main() {
	for i := 0; i < 10; i++ {
		go add(3, 4)
	}
	time.Sleep(1e9)
}

func add(a int, b int) {
	c := a + b
	fmt.Printf("%d + %d =  %d \n", a, b, c)
}
